import Cookies from 'js-cookie';

export const clearAllCookies = (options = { path: '/' })  => {
  const cookies = Cookies.get();
  Object.keys(cookies).forEach(name => {
    Cookies.remove(name, options);
  });
}